package com.cens.mall.search.feign;

import com.cens.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("mall-commodity")
public interface CommodityFeignService {

    @GetMapping("/commodity/attr/info/{attrId}")
    public R attrInfo(@PathVariable("attrId") Long attrId);
}
